#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>

#include "dominion.h"
#include "dominion_helpers.h"
#include "rngs.h"

#define DEBUG 0
#define NOISY_TEST 1

int checksupplyCount(int card, struct gameState *state);


int checksupplyCount(int card, struct gameState *state){

    int c = state->supplyCount[card];
    int r = supplyCount(card, state);

    assert (c == r);

    return 0;
}

int main(){

    int i;
    int j;
    int n;

    struct gameState g;

    printf("Testing SupplyCount.\n");

    g.whoseTurn = floor(Random() * MAX_PLAYERS);

    g.supplyCount[j] = floor(Random() * 60);
    checksupplyCount(j, &g);

    printf("supplyCount OK\n");

    return 0;
}
